package com.example.template.course;

public class PHPCourse extends NetworkCourse {

    private boolean needHomework;

    public PHPCourse(boolean needHomework){
        this.needHomework=needHomework;
    }

    @Override
    protected void checkHomework() {
        System.out.println("检查 PHP 作业");
    }

    @Override
    protected boolean needHomework() {
        return this.needHomework;
    }
}
